package com.ljdemo.lrecorder.been;

import android.graphics.Bitmap;

/**
 * 视频文件（mp4）信息been
 * <br/>
 * 方便前端使用，将封面由Bitmap改为封面路径，封面会在获取时保存
 * <br/>
 * 2023/6/20
 * */
public class VideoInfo {


    private String fileName;
    // 封面
    private Bitmap cover;
    // 时长
    private long duration;
    // 创建时间
    private long createTime;
    // 文件全名
    private String fileFullName;

    public VideoInfo() {}

    public Bitmap getCover() {
        return cover;
    }

    public void setCover(Bitmap cover) {
        this.cover = cover;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getFileFullName() {
        return fileFullName;
    }

    public void setFileFullName(String fileFullName) {
        this.fileFullName = fileFullName;
    }

    @Override
    public String toString() {
        return "VideoInfo{" +
                "cover : " + cover +
                ", fileName : '" + fileName + '\'' +
                ", duration : " + duration +
                ", createTime : " + createTime +
                ", fileFullName : '" + fileFullName + '\'' +
                '}';
    }
}
